forum

home / developersection / forums / how to disable anchor tag link using jquery?

How to disable anchor tag link using jquery?

Sushant Mishra 1865 25-Jul-2017
I want to disable click here is my code 
<a href='' id='ThisLink'>some text</a>

 I have done this but it is not working
I can do this easily with a button by adding .attr("disabled", "disabled");

Updated on 28-Jul-2017
Can you answer this question?

Answer

1 Answers

Liked By